package com.sf.fy.uav.user.controller;

import com.sf.fy.uav.user.entity.UserWallet;
import com.sf.fy.uav.user.service.IUserWalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 钱包 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2023-08-25
 */
@RestController
@RequestMapping("/sys/user-wallet")
public class UserWalletRest {

    @Autowired
    private IUserWalletService iUserWalletService;

    public UserWallet selectOneByUserId(String userId) {
        return iUserWalletService.selectOneByUserId(userId);
    }
}
